<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    
    
       <ui:composition template="/WEB-INF/layout/layout.xhtml">
        <ui:define name="title"> Vítejte na našem blogu </ui:define>
        <ui:define name="nadpis">${ClankyBean.aktualniClanek.nazev}</ui:define>

        <ui:define name="obsah">
            ${ClankyBean.zvysNavstevnost(ClankyBean.aktualniClanek)}
            <h:outputText value="${ClankyBean.aktualniClanek.text}" escape="false"/>
            <br /> <br />
            Libi: ${ClankyBean.aktualniClanek.libi} x Nelibi: ${ClankyBean.aktualniClanek.nelibi} <br />
            <h:form>
                <h:commandLink value="Libi " action="#{ClankyBean.zvysitHodnoceni}"/> <br />
                <h:commandLink value="Nelibi " action="#{ClankyBean.snizitHodnoceni}"/>
            </h:form>
        </ui:define>
        
        <ui:define name="menu">
            <ui:include src="/WEB-INF/jspf/menu.xhtml" />
        </ui:define>

    </ui:composition>
    
</html>

